package com.gitee.ywj1352.lazy;

public class LazySafe {
    private LazySafe(){}
    private static LazySafe lazy ;

    public static synchronized LazySafe getInstance(){
        if(lazy == null){
            lazy = new LazySafe();
            return lazy;
        }
        return lazy;
    }


}
